<template>
<view class="client_my">
	<!-- 我的客户：从我的线索，分配过来，分配完从我的线索里去掉 -->
	<clientMySearch class="clientMySearch"></clientMySearch>
	
	<clientMyTable class="clientMyTable"></clientMyTable>
	
	<clientMyPopup></clientMyPopup>
</view>
</template>

<script>
import { mapActions } from 'vuex';
import clientMySearch from './components/clientMySearch'
import clientMyTable from './components/clientMyTable'
import clientMyPopup from './components/clientMyPopup.vue'

export default{
	components:{
		clientMySearch,
		clientMyTable,
		clientMyPopup
	},
	mounted() {
		
		this.getThreadData();
		this.getDataCount();
	},
	
	methods:{
		...mapActions('clientMy', ['getThreadData', 'getDataCount']),
	}
}
</script>

<style lang="scss" scoped>
uni-page-body{
	width: 100%;
	height: 100%;
	display: flex;
	.clientMySearch{
		height: fit-content;
	}
	.clientMyTable{
		flex: 1;
		display: flex;
		flex-direction: column;
	}
}
.client_my{	
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

::v-deep.uni-forms-item__label{
	width: 100px;
}
</style>
